<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Pro;
class IndexController extends Controller
{	
	public function index(){
		//审核通过 的项目
		$pro = Pro::where('status',1)->orderBy('pid','desc')->get();
	    return view('index',['pro'=>$pro]);
	}
}
